package com.example.demo.utils.importUtils;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson2.JSON;

/**
 * 导入模版DTO
 *
 * @author xiaobeibei@gogpay.cn
 * @date 2023-12-08 10:53
 */
public class ImportDTO {

    /**
     * 身份证号
     */
    @ExcelProperty(index = 0)
    private String idCard;

    /**
     * 姓名
     */
    @ExcelProperty(index = 1)
    private String personName;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }


    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
